﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TanWeb.Helpers
{
    public class Constants
    {
        /** Constant Value */
        #region Constant Value

        public const string PRICE_NOT_SET = "Chưa định giá.";

        public const int MAX_PAGE_RECORD = 12;

        public const int ERROR_SQL_CONDITION = -1;

        public const string GRID_EMPTY_WARNING = "Mục này chưa có dữ liệu!";

        public const string SPECIAL_SPACE_CHAR = "%SPACE%";

        public const string LOST_SESSION = "Lost_Session";

        public const string HTML_NEW_LINE = "<br />";

        public const string LOGIN_ID = "LOGIN_ID";

        public const string ERROR_PAGE = "Error_Page";

        public const string PAGE_OK = "Page_OK";

        public const int TEMP_IMG_WIDTH = 130;

        public const int UPLOAD_IMG_TEMP_WIDTH = 250;

        public const int MAX_UPLOAD_WIDTH = 724;

        public const int MAX_UPLOAD_HEIGHT = 543;

        public const string PATH_UPLOAD_IMAGE = "../Images/Upload/";

        public const string PATH_TEMP_IMAGE = "../Images/Temp/";

        public const string FORMAT_UPLOAD_TIME = "ddMMyyyyhhmmss";

        public const string FORMAT_FULL_DATE_TIME = "yyyy/MM/dd hh:mm:ss";

        public const string JPG_FORMAT = ".jpg";

        public const string UNDERLINE = "_";

        public const string PRESET_PRODUCT_NAME = "N";

        public const string TYPE_IMAGE_NORMAL = "Image_Normal";

        public const string TYPE_IMAGE_MINIMUM = "Image_Minimum";

        public const string TYPE_IMAGE_ORIGINAL = "Image_Original";

        public const string NEW_GROUP = "New_Group";

        public const string NEW_SUB_GROUP = "New_Sub_Group";

        public const string UPDATE_SUB_GROUP = "Update_Sub_Group";

        public const string UPDATE_GROUP = "Update_Group";

        /** End Constant Value */
        #endregion

        /** Constant Page Name */
        #region Constant Page Name

        public const string PAGE_HOME_INDEX = "index";

        public const string PAGE_HOME_INTRODUCTION = "introduction";

        public const string PAGE_DETAIL_DETAIL = "detail";

        public const string PAGE_DETAIL_INFO = "info";

        public const string CONTROLLER_MASTER_NAME = "Master";

        public const string PAGE_MASTER_LOGIN = "login";

        public const string PAGE_MASTER_MAIN = "main";

        public const string PAGE_MASTER_NEW = "new";

        public const string PAGE_MASTER_UPDATE = "update";

        public const string PAGE_MASTER_IMAGE_PREVIEW = "image_preview";

        public const string PAGE_MASTER_IMAGE_REVIEW = "image_review";

        public const string PAGE_MASTER_NEW_GROUP = "new_group";

        public const string PAGE_MASTER_ADD_GROUP = "add_group";

        /** End Constant Page Name */
        #endregion

        /** Start Session Key */
        #region Session Key

        public const string SS_LISTMENUITEM = "List_Menu_Item";

        public const string SS_LISTSUBMENUITEM = "List_Sub_Menu_Item";

        public const string SESSION_UPLOADED_FILENAME = "FileNameList";
        
        /** END Session Key */

        #endregion
    }
}